package com.hf.buildtb.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * BiEmployeeGrade entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="BI_EmployeeGrade"
    ,schema="dbo"
    ,catalog="BIDB"
)

public class BiEmployeeGrade  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 5038888766870896304L;
	private String gradId;
     private String gradName;
     private Boolean isValid;
     private Double deductPre;
     private String memo;


    // Constructors

    /** default constructor */
    public BiEmployeeGrade() {
    }

	/** minimal constructor */
    public BiEmployeeGrade(String gradId, Boolean isValid) {
        this.gradId = gradId;
        this.isValid = isValid;
    }
    
    /** full constructor */
    public BiEmployeeGrade(String gradId, String gradName, Boolean isValid, Double deductPre, String memo) {
        this.gradId = gradId;
        this.gradName = gradName;
        this.isValid = isValid;
        this.deductPre = deductPre;
        this.memo = memo;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="gradId", unique=true, nullable=false, length=4)

    public String getGradId() {
        return this.gradId;
    }
    
    public void setGradId(String gradId) {
        this.gradId = gradId;
    }
    
    @Column(name="gradName", length=64)

    public String getGradName() {
        return this.gradName;
    }
    
    public void setGradName(String gradName) {
        this.gradName = gradName;
    }
    
    @Column(name="isValid", nullable=false)

    public Boolean getIsValid() {
        return this.isValid;
    }
    
    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }
    
    @Column(name="deductPre", precision=4, scale=4)

    public Double getDeductPre() {
        return this.deductPre;
    }
    
    public void setDeductPre(Double deductPre) {
        this.deductPre = deductPre;
    }
    
    @Column(name="memo", length=24)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   








}